
# -*- coding: utf-8 -*-

import tornado.web
from util.util import initializeModel
from util.FacialRecognition import trainModel
from controllers.BaseController import BaseController

class TrainController(BaseController):
	@tornado.web.authenticated
	def post(self):
		initializeModel()
		trainModel()
